#include<iostream>
#include<iomanip>
using namespace std;
const double pi = 3.1416;

int main() {
    int r;
    cin >> r;
    cout << fixed << setprecision(4) << (4.0/3) * pi * r * r * r;
    return 0;
}